<template>
    <div>
        <label><slot></slot></label>
        <input
            :value="value"
            :type="type"
            @input="$emit('input', $event.target.value)"
            @blur="$emit('validate', $event)"

        />
        <!-- <input type="text" :value="info" @input="$emit('update:info',$event.target.value)"> -->
        <span>{{ info }}</span>
    </div>
</template>

<script>
export default {
    props: ["type", "info", "value"],
};
</script>

<style>
</style>